go/types.Named.methods (field)

19 uses

	go/types (current package)
		named.go#L131: 	methods []*Func
		named.go#L198: 		if len(orig.methods) == 0 {
		named.go#L223: 		n.methods = methods
		named.go#L244: 	typ := &Named{check: check, obj: obj, fromRHS: underlying, underlying: underlying, methods: methods}
		named.go#L344: 	return len(t.Origin().resolve().methods)
		named.go#L362: 		return t.methods[i]
		named.go#L371: 	if len(t.methods) != len(orig.methods) {
		named.go#L372: 		assert(len(t.methods) == 0)
		named.go#L373: 		t.methods = make([]*Func, len(orig.methods))
		named.go#L376: 	if t.methods[i] == nil {
		named.go#L378: 		t.methods[i] = t.expandMethod(i)
		named.go#L383: 		if t.inst.expandedMethods == len(orig.methods) {
		named.go#L389: 	return t.methods[i]
		named.go#L475: 		t.methods = append(t.methods, m)
		named.go#L487: 		for i, m := range t.methods {
		named.go#L493: 		for i, m := range t.methods {